<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	
	<xsl:template match="/">
		<xsl:apply-templates />
	</xsl:template>
	
	<xsl:template match="/">
	
		<xsl:element name="framework-detail">
	
			<xsl:for-each select="/div/fieldset/table/tbody/tr/td/input">			
				
				<xsl:if test="position() = 1">
					<xsl:element name="framework">
						<xsl:value-of select="normalize-space(./@value)" />
					</xsl:element>
				</xsl:if>	
				
				<xsl:if test="position() = 2">
					<xsl:element name="non-withdrawal-percentage">
						<xsl:value-of select="normalize-space(./@value)" />
					</xsl:element>
				</xsl:if>
				
				<xsl:if test="position() = 3">
					<xsl:element name="process-number">
						<xsl:value-of select="normalize-space(./@value)" />
					</xsl:element>
				</xsl:if>
				
			</xsl:for-each>		
		
		</xsl:element>
		
	</xsl:template>
	
</xsl:stylesheet>


